﻿using FastMvc.Crud.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace JQ.SAAS.DTO.SysMenus
{
    /// <summary>
    /// 菜单信息查询显示
    /// </summary>
    public class SysMenusDto : DtoEntity
    {
        /// <summary>
        /// 菜单名称
        /// </summary>           
        public string sName { get; set; }

        /// <summary>
        /// 0：页面菜单 1：操作菜单
        /// </summary>           
        public int iType { get; set; }

        /// <summary>
        /// 显示图标
        /// </summary>           
        public string icon { get; set; }

        /// <summary>
        /// 启用标志
        /// </summary>           
        public int iEnabled { get; set; }

        /// <summary>
        /// 父节点
        /// </summary>           
        public string ParentId { get; set; }

        /// <summary>
        /// 子节点
        /// </summary>
        public List<SysMenusDto> Childs { get; set; }

        /// <summary>
        /// 对应操作权限
        /// </summary>           
        public string sPermission { get; set; }
    }
}
